package test;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Administrator on 2016/2/16.
 */
public class Jframe1 extends JFrame {

    public static void main(String[] args) {
        Jframe1 jframe1=new Jframe1();
    }
    public Jframe1() throws HeadlessException {
        //Test test=new Test();
        this.add(new Test());
        this.setPreferredSize(new Dimension(800, 600));
        this.setSize(new Dimension(800, 600));
        this.setVisible(true);

    }
}
